Skip to content

Commit

Permalink
wip GH action
Browse files Browse the repository at this point in the history
  • Loading branch information
reteps committed Aug 21, 2024
1 parent 3d39960 commit ef3a701
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,22 +1,13 @@
name: Deploy (sigpwny.com)
name: Deploy Astro Site

on:
push:
paths:
- _global/**
- sigpwny.com/**
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
workflow_call:
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: read
deployments: write
env:
CI: true
CI_WORKING_DIR: sigpwny.com
CI_BUILD_DIR: dist
steps:
- name: Check out repository code
uses: actions/checkout@v3
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/deploy-fallctf.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Deploy (fallctf.com)
on:
push:
paths:
- _global/**
- fallctf.com/**
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
CI: true
CI_WORKING_DIR: fallctf.com
CI_BUILD_DIR: dist
uses: ./.github/workflows/_deploy_astro_site.yml
14 changes: 14 additions & 0 deletions .github/workflows/deploy-sigpwny.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Deploy (sigpwny.com)
on:
push:
paths:
- _global/**
- sigpwny.com/**
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
CI: true
CI_WORKING_DIR: sigpwny.com
CI_BUILD_DIR: dist
uses: ./.github/workflows/_deploy_astro_site.yml

0 comments on commit ef3a701

Please sign in to comment.