mirror of https://github.com/statping/statping
Removing more AWS from Dev workflow
parent
29666adfd8
commit
0f0ad6d7be
|
@ -54,19 +54,6 @@ jobs:
|
||||||
name: static-rice-box
|
name: static-rice-box
|
||||||
path: ./source
|
path: ./source
|
||||||
|
|
||||||
- name: Configure AWS credentials for Asset uploads
|
|
||||||
uses: aws-actions/configure-aws-credentials@v1
|
|
||||||
with:
|
|
||||||
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
|
||||||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
|
||||||
aws-region: us-west-2
|
|
||||||
|
|
||||||
- name: Upload Static Assets to S3
|
|
||||||
run: |
|
|
||||||
tar -czvf source.tar.gz source/
|
|
||||||
aws s3 cp source.tar.gz s3://assets.statping.com/commit/${{ github.sha }}/
|
|
||||||
rm -rf source.tar.gz
|
|
||||||
|
|
||||||
build:
|
build:
|
||||||
needs: frontend
|
needs: frontend
|
||||||
runs-on: [self-hosted, linux, aboutcher-hosted]
|
runs-on: [self-hosted, linux, aboutcher-hosted]
|
||||||
|
@ -89,13 +76,6 @@ jobs:
|
||||||
name: static-rice-box
|
name: static-rice-box
|
||||||
path: ./source
|
path: ./source
|
||||||
|
|
||||||
- name: Configure AWS credentials for Asset uploads
|
|
||||||
uses: aws-actions/configure-aws-credentials@v1
|
|
||||||
with:
|
|
||||||
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
|
||||||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
|
||||||
aws-region: us-west-2
|
|
||||||
|
|
||||||
- name: Add GOBIN to PATH
|
- name: Add GOBIN to PATH
|
||||||
run: |
|
run: |
|
||||||
echo "VERSION=$(cat version.txt)" >> $GITHUB_ENV
|
echo "VERSION=$(cat version.txt)" >> $GITHUB_ENV
|
||||||
|
@ -186,9 +166,6 @@ jobs:
|
||||||
prerelease: true
|
prerelease: true
|
||||||
files: build/${{ env.compressed }}
|
files: build/${{ env.compressed }}
|
||||||
|
|
||||||
# - name: Upload Compiled Binaries to S3
|
|
||||||
# run: |
|
|
||||||
# aws s3 cp build/${{ env.compressed }} s3://assets.statping.com/commit/${{ github.sha }}/
|
|
||||||
|
|
||||||
test:
|
test:
|
||||||
needs: frontend
|
needs: frontend
|
||||||
|
|
Loading…
Reference in New Issue