Skip to content

Commit

Permalink
testing secret
Browse files Browse the repository at this point in the history
  • Loading branch information
Dionysios Grapsas committed Jan 23, 2025
1 parent fdeed4d commit 39c77fa
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/docs_preview.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Docs Preview

permissions:
contents: write
pull-requests: write

on:
Expand Down Expand Up @@ -36,3 +37,11 @@ jobs:
source-dir: docs/_build/html
preview-branch: gh-pages
custom-url: fortls.fortran-lang.org
- name: Push Changes
env:
GH_TOKEN: ${{ bot_token.GH_TOKEN }}
run: |
git remote set-url origin https://x-access-token:${{ bot_token.GH_TOKEN }}@github.com/${{ github.repository }}.git
git add .
git commit -m "Deploy preview for PR ${{ github.event.number }} 🛫"
git push origin HEAD:gh-pages

0 comments on commit 39c77fa

Please sign in to comment.