Skip to content

Commit

Permalink
take chatgpts action suggestion without edits (sus)
Browse files Browse the repository at this point in the history
  • Loading branch information
lamalex committed Jan 14, 2024
1 parent 25443c3 commit b1faac2
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,19 @@ jobs:
google-chrome --headless --run-all-compositor-stages-before-draw --print-to-pdf-no-header --print-to-pdf=static/alexlauni-resume.pdf http://localhost:1111/cv
kill $ZOLA_PID
- name: Set Build Command for Non-main Branch
if: contains(github.ref, 'refs/heads/') && !endsWith(github.ref, '/main')
env:
GITHUB_REF_NAME: ${{ github.ref_name }}
run: echo "BUILD_COMMAND=zola build -u ${GITHUB_REF_NAME}.lamalex-github-io.pages.dev" >> $GITHUB_ENV

- name: Set Build Command for Main Branch
if: endsWith(github.ref, '/main')
run: echo "BUILD_COMMAND=zola build" >> $GITHUB_ENV

- name: Build site
run: ${{ env.BUILD_COMMAND }}

- name: Build site
run: zola build

Expand Down

0 comments on commit b1faac2

Please sign in to comment.