Skip to content

Commit

Permalink
actions: simplify to single yml
Browse files Browse the repository at this point in the history
  • Loading branch information
joshtynjala committed Oct 11, 2024
1 parent 759e68b commit 20bea18
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 33 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Deploy
on: [push]
name: Build & Deploy

on: [push, pull_request]

jobs:
deploy:
Expand Down Expand Up @@ -38,6 +39,7 @@ jobs:
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.repository == 'openfl/books.openfl.org' && github.ref == 'refs/heads/master' && github.event_name != 'pull_request' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./deploy
Expand Down
31 changes: 0 additions & 31 deletions .github/workflows/test-deploy.yml

This file was deleted.

0 comments on commit 20bea18

Please sign in to comment.