Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ jobs:

- name: Commit changes to gh-pages branch
run: |
echo ${{ secrets.GITHUB_TOKEN }} | gh auth login --with-token
git config --global user.name "GitHub Actions"
git config --global user.email "action@github.com"
git add -N .
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,12 @@ jobs:
- name: Checkout gh-pages
uses: actions/checkout@v4
with:
repository: Rust-Developers-JP/rustrefjp
ref: gh-pages

- name: Commit changes to gh-pages branch
run: |
echo ${{ secrets.GITHUB_TOKEN }} | gh auth login --with-token
git config --global user.name "GitHub Actions"
git config --global user.email "action@github.com"
mkdir -p ./preview/${{ env.PAGE_DIR }}
Expand Down Expand Up @@ -69,6 +71,7 @@ jobs:
- name: Checkout gh-pages
uses: actions/checkout@v4
with:
repository: Rust-Developers-JP/rustrefjp
ref: gh-pages

- name: Remove preview directory
Expand Down
Loading