Skip to content

Commit

Permalink
CI: deploy regenerate the website?
Browse files Browse the repository at this point in the history
  • Loading branch information
ibilon committed Nov 4, 2023
1 parent b012c13 commit aa11fe4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@ jobs:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
- name: Deploy
if: success() && env.DEPLOY == 'true'
run: earthly +deploy
run: earthly +deploy --GIT_BRANCH=${{ github.ref_name }}
env:
EARTHLY_SECRET_FILES: .envrc=.envrc
1 change: 1 addition & 0 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ generate:
SAVE ARTIFACT --keep-ts out AS LOCAL ./out

deploy:
ARG GIT_BRANCH
FROM haxe:$HAXE_VERSION
WORKDIR /workspace
RUN apt-get update \
Expand Down

0 comments on commit aa11fe4

Please sign in to comment.