Skip to content

Commit

Permalink
make it work on fork
Browse files Browse the repository at this point in the history
  • Loading branch information
Saransh-cpp committed Aug 30, 2024
1 parent 034cc19 commit 203ac42
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build_site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
steps:
- uses: actions/checkout@v4
# Adds keys to work with other repositories used in this lesson (e.g., UCL/github-example)
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
# - uses: webfactory/[email protected]
# with:
# ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- uses: actions/cache@v4 # FIXME: add apt(latex)
with:
path: vendor/bundle
Expand Down Expand Up @@ -64,9 +64,9 @@ jobs:
path: _site

deploy:
if: >
github.ref == 'refs/heads/main'
&& github.repository == 'UCL/rsd-engineeringcourse'
# if: >
# github.ref == 'refs/heads/main'
# && github.repository == 'UCL/rsd-engineeringcourse'
needs: build
permissions:
pages: write
Expand Down

0 comments on commit 203ac42

Please sign in to comment.