Skip to content

Commit

Permalink
ci: Use SSH instead of HTTPS
Browse files Browse the repository at this point in the history
This should allow us to use a GitHub Deploy Key, ~/.ssh/francorbacho_github_io-deploy-key
  • Loading branch information
francorbacho committed Apr 7, 2024
1 parent d2dc1e1 commit 77adaab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: GitHub Pages

on:
push:
branches: [ "master" ]
branches: [ "master", "test-checkout" ]
pull_request:
workflow_dispatch:

Expand All @@ -18,11 +18,11 @@ jobs:
- uses: actions/checkout@v3

- name: Checkout pages
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: 'pages'
ref: 'gh-pages'
token: ${{ secrets.PUSH_KEY }}
ssh-key: ${{ secrets.DEPLOY_KEY }}
repository: 'francorbacho/francorbacho.github.io'

- name: Reconfigure gitignore
Expand Down

0 comments on commit 77adaab

Please sign in to comment.