Skip to content

Commit

Permalink
Additional path fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
ProjectSynchro committed May 14, 2024
1 parent c0ee6ca commit 19ccc86
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/website_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ jobs:
- name: "Checkout `naev.org`"
uses: actions/checkout@v3
with:
path: ${{ github.workspace }}/naev.github.io/naev.github.io/prod
path: ${{ github.workspace }}/prod
- name: "Clone `naev-website`"
uses: actions/checkout@v3
with:
repository: 'naev/naev-website'
path: ${{ github.workspace }}/naev.github.io/naev.github.io/staging
path: ${{ github.workspace }}/staging
- name: "Setup APT Packages"
uses: awalsh128/cache-apt-pkgs-action@latest
with:
Expand All @@ -37,25 +37,25 @@ jobs:
run: make
working-directory: ${{ github.workspace }}/staging
- name: "Stage Updated Files"
run: rsync -avzh output/ ${{ github.workspace }}/naev.github.io/naev.github.io/prod
run: rsync -avzh output/ ${{ github.workspace }}/prod
working-directory: ${{ github.workspace }}/staging
- name: "Add Updated Files"
run: |
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "GitHub Actions"
git add *
working-directory: ${{ github.workspace }}/naev.github.io/naev.github.io/prod
working-directory: ${{ github.workspace }}/prod
- name: "Commit Updated Files"
run: |
git commit -m "Website Updates" -a
git pull
working-directory: ${{ github.workspace }}/naev.github.io/naev.github.io/prod
working-directory: ${{ github.workspace }}/prod
- name: "Push Updates to `naev.org`"
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}
directory: ${{ github.workspace }}/naev.github.io/naev.github.io/prod
directory: ${{ github.workspace }}/prod
docs_publish:
permissions:
contents: write
Expand Down

0 comments on commit 19ccc86

Please sign in to comment.