Skip to content

Commit

Permalink
Try to fix git config issue (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
jagot authored Feb 16, 2023
1 parent 1a910eb commit 21f2cba
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
# On every push this script is executed
on: push
name: Build and deploy GH Pages

on:
push:
branches:
- master

jobs:
build:
name: Publish site
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
steps:
- name: checkout
uses: actions/checkout@v2
- name: build_and_deploy
uses: shalzz/[email protected]
env:
# Target branch
PAGES_BRANCH: gh-pages
TOKEN: ${{ secrets.GH_PAT }}
- name: Checkout main
uses: actions/[email protected]
- name: Build and deploy
uses: shalzz/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 21f2cba

Please sign in to comment.