forked from DiscordStyles/FrostedGlass
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (29 loc) · 839 Bytes
/
compile.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: 'Compile SCSS'
on: 'push'
jobs:
build:
name: 'Build CSS'
runs-on: 'ubuntu-latest'
steps:
- name: 'Checkout Repo'
uses: 'actions/checkout@v2'
- name: 'Setup NodeJS'
uses: 'actions/setup-node@v1'
with:
node-version: 16
- name: 'Install PNPM'
uses: 'pnpm/action-setup@v2.1.0'
with:
version: 6.0.2
- name: 'Clean install of dependencies'
run: 'pnpm i'
- name: 'Run build script'
run: 'pnpm build'
- name: 'Copy powercord_manifest.json'
run: 'cp powercord_manifest.json dist/powercord_manifest.json'
- name: 'Deploy'
uses: 'peaceiris/actions-gh-pages@v3'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: 'deploy'
publish_dir: './dist'