Skip to content

Commit

Permalink
fix branch
Browse files Browse the repository at this point in the history
  • Loading branch information
ghxiao committed Aug 19, 2021
1 parent e5f80da commit be5cd1a
Showing 1 changed file with 3 additions and 21 deletions.
24 changes: 3 additions & 21 deletions .github/workflows/github-actions-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,8 @@ jobs:
Explore-GitHub-Actions:
runs-on: ubuntu-latest
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Check out repository code
uses: actions/checkout@v2
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
- name: List files in the repository
run: |
ls ${{ github.workspace }}
- run: echo "🍏 This job's status is ${{ job.status }}."
- uses: actions/checkout@v2
uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'
Expand All @@ -27,13 +17,5 @@ jobs:
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
external_repository: ontop/ontop.github.io
publish_branch: main # default: gh-pages
publish_dir: .vuepress/dist
# - name: Deploy with gh-pages
# run: |
# # git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
#
# yarn run gh-pages -d .vuepress/dist -u "github-actions-bot <[email protected]>" --repo https://git:${{ secrets.GITHUB_TOKEN }}@github.com/ontop/ontop.github.io.git --branch master
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

publish_branch: master # default: gh-pages
publish_dir: .vuepress/dist

0 comments on commit be5cd1a

Please sign in to comment.