Skip to content

Commit

Permalink
Create ci_release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cageyv committed Oct 29, 2021
1 parent 2e81e94 commit 80409a5
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/ci_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: CI

on:
push:
tags: [ v* ]

jobs:

release:
name: Release
runs-on: ubuntu-latest
steps:

- name: Check out
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Release
if: startsWith(github.ref, 'refs/tags/v')
env:
AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
run: aws s3 sync . s3://${{ secrets.RELEASE_BUCKET }}/${{ github.event.repository.name }}/${GITHUB_REF##*/} --exclude "*" --include "tf.sh"

0 comments on commit 80409a5

Please sign in to comment.