diff options
author | 2021-07-23 17:12:19 +0000 | |
---|---|---|
committer | 2021-07-23 17:12:19 +0000 | |
commit | 041788878d6091a9b5a064068cbacdb4761700ca (patch) | |
tree | 32f0df5f15e3d111808dd3ca23c8f974afc3b4bc /docs/src | |
parent | b5fed3be9bc75bb7c5bda7ce793054ff674e3732 (diff) | |
download | astro-041788878d6091a9b5a064068cbacdb4761700ca.tar.gz astro-041788878d6091a9b5a064068cbacdb4761700ca.tar.zst astro-041788878d6091a9b5a064068cbacdb4761700ca.zip |
[ci] yarn format
Diffstat (limited to 'docs/src')
-rw-r--r-- | docs/src/pages/guides/deploy.md | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/docs/src/pages/guides/deploy.md b/docs/src/pages/guides/deploy.md index d8e3dcbbb..63155add5 100644 --- a/docs/src/pages/guides/deploy.md +++ b/docs/src/pages/guides/deploy.md @@ -73,7 +73,7 @@ By default, the build output will be placed at `dist/`. You may deploy this `dis 3. In Github go to Settings > Developer settings > Personal Access tokens. Generate a new token with repo permissions. 4. In the astro project repo (not \<YOUR USERNAME\>.github.io) go to Settings > Secrets and add your new personal access token with the name `API_TOKEN_GITHUB`. 5. When you push changes to the astro project repo CI will deploy them to \<YOUR USERNAME\>.github.io for you. - + ```yaml # Workflow to build and deploy to your Github Pages repo. @@ -88,15 +88,14 @@ name: Github Pages Astro CI on: # Triggers the workflow on push and pull request events but only for the main branch push: - branches: [ main ] + branches: [main] pull_request: - branches: [ main ] + branches: [main] # Allows you to run this workflow manually from the Actions tab. workflow_dispatch: jobs: - deploy: runs-on: ubuntu-latest @@ -113,7 +112,7 @@ jobs: run: | npm run build touch ./dist/.nojekyll - + # Push to your pages repo - name: Push to pages repo uses: cpina/github-action-push-to-another-repository@main |