Skip to content

Commit

Permalink
Upload web build artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
roryabraham committed Jul 25, 2024
1 parent 266d4cb commit 105fde1
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/platformDeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,21 @@ jobs:
env:
CF_API_KEY: ${{ secrets.CLOUDFLARE_TOKEN }}

- name: Upload web build to GitHub artifacts
uses: actions/upload-artifact@v4
with:
name: web-build
path: dist

- name: Upload web build to GitHub Release
if: ${{ fromJSON(env.SHOULD_DEPLOY_PRODUCTION) }}
run:
tar -czvf webBuild.tar.gz dist
zip -r webBuild.zip dist
gh release upload ${{ github.event.release.tag_name }} webBuild.tar.gz webBuild.zip
env:
GITHUB_TOKEN: ${{ github.token }}

postSlackMessageOnFailure:
name: Post a Slack message when any platform fails to build or deploy
runs-on: ubuntu-latest
Expand Down

0 comments on commit 105fde1

Please sign in to comment.