Skip to content

Commit

Permalink
maybe fix deployment building
Browse files Browse the repository at this point in the history
fix deployments

maybe fix

maybe fix
  • Loading branch information
BradyAJohnston committed Apr 2, 2024
1 parent 6d68497 commit da67718
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:

- name: Create Github Deployment
uses: bobheadxi/[email protected]
if: github.event.pull_request.head.repo.full_name == github.repository
id: deployment
with:
step: start
Expand All @@ -60,6 +61,7 @@ jobs:
logs: 'https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}'

- name: Netlify docs preview
if: github.event.pull_request.head.repo.full_name == github.repository
run: |
npm install -g netlify-cli
# push main branch to production, others to preview --
Expand All @@ -74,6 +76,7 @@ jobs:
ALIAS: ${{ steps.deployment.outputs.env }}

- name: Update Github Deployment
if: github.event.pull_request.head.repo.full_name == github.repository
uses: bobheadxi/[email protected]
if: ${{ always() }}
with:
Expand All @@ -83,7 +86,9 @@ jobs:
deployment_id: ${{ steps.deployment.outputs.deployment_id }}
env_url: 'https://${{ steps.deployment.outputs.env }}--molecularnodes.netlify.app'
logs: 'https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}'
- uses: peaceiris/actions-gh-pages@v3

- name: Deploy Release Documentation
uses: peaceiris/actions-gh-pages@v3
if: github.event_name == 'release'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit da67718

Please sign in to comment.