Skip to content

Commit

Permalink
Only deploy to my github pages thing, so this will not fail for forks…
Browse files Browse the repository at this point in the history
… anymore
  • Loading branch information
Spritetm committed Jun 30, 2024
1 parent 2a6f44d commit 15ec1b0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# This is a basic workflow to help you get started with Actions

name: CI
name: build-amd64-binary

# Controls when the workflow will run
on:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/pages.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

name: CI
name: deploy-github-pages

permissions:
id-token: write
Expand Down Expand Up @@ -52,6 +52,8 @@ jobs:
path: 'web'

deploy:
# Only run if we can deploy to https://spritetm.github.io/plexus_20_emu/
if: ${{ github.repository == 'Spritetm/plexus_20_emu' }}
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
Expand Down

0 comments on commit 15ec1b0

Please sign in to comment.