Skip to content

Commit

Permalink
Remove path workaround for dockerized runners
Browse files Browse the repository at this point in the history
Yay.
  • Loading branch information
ProjectSynchro committed May 14, 2024
1 parent 6e09c56 commit c0ee6ca
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: /__w/naev.github.io/naev.github.io/prod
path: ${{ github.workspace }}/naev.github.io/naev.github.io/prod
- name: "Clone `naev-website`"
uses: actions/checkout@v3
with:
repository: 'naev/naev-website'
path: /__w/naev.github.io/naev.github.io/staging
path: ${{ github.workspace }}/naev.github.io/naev.github.io/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/ /__w/naev.github.io/naev.github.io/prod
run: rsync -avzh output/ ${{ github.workspace }}/naev.github.io/naev.github.io/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: /__w/naev.github.io/naev.github.io/prod
working-directory: ${{ github.workspace }}/naev.github.io/naev.github.io/prod
- name: "Commit Updated Files"
run: |
git commit -m "Website Updates" -a
git pull
working-directory: /__w/naev.github.io/naev.github.io/prod
working-directory: ${{ github.workspace }}/naev.github.io/naev.github.io/prod
- name: "Push Updates to `naev.org`"
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}
directory: /__w/naev.github.io/naev.github.io/prod
directory: ${{ github.workspace }}/naev.github.io/naev.github.io/prod
docs_publish:
permissions:
contents: write
Expand Down

0 comments on commit c0ee6ca

Please sign in to comment.