mirror of
https://github.com/voxel-im/YinYang.git
synced 2024-11-22 07:53:09 +02:00
[studio] Add GitHub Action
This commit is contained in:
parent
ca3bda8b75
commit
fc784699ac
1 changed files with 26 additions and 0 deletions
26
.github/workflows/_studio.yml
vendored
Normal file
26
.github/workflows/_studio.yml
vendored
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
name: Astro Studio
|
||||||
|
|
||||||
|
env:
|
||||||
|
ASTRO_STUDIO_APP_TOKEN: ${{secrets.ASTRO_STUDIO_APP_TOKEN }}
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
pull_request:
|
||||||
|
types: [opened, reopened, synchronize]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
DB:
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
actions: read
|
||||||
|
pull-requests: write
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: 20
|
||||||
|
- uses: jaid/action-npm-install@v1.2.1
|
||||||
|
- uses: withastro/action-studio@main
|
Loading…
Reference in a new issue