-
Notifications
You must be signed in to change notification settings - Fork 134
51 lines (41 loc) · 1.07 KB
/
itchio-deploy.yaml
File metadata and controls
51 lines (41 loc) · 1.07 KB
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: Itch.io Deploy Workflow
on:
push:
branches:
- main
paths:
- tic-tac-toe-project/**
workflow_dispatch:
jobs:
itchio-deploy:
runs-on: ubuntu-latest
defaults:
run:
working-directory: tic-tac-toe-project
steps:
- uses: actions/checkout@v3
- name: Setup Node.js 16
uses: actions/setup-node@v3
with:
node-version: "16.x"
cache: 'npm'
cache-dependency-path: tic-tac-toe-project/yarn.lock
env:
CI: true
- name: Install yarn
run: npm install --global yarn
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: yarn build
run: yarn build
env:
CI: true
- run: ls
- name: Deploy
uses: josephbmanley/butler-publish-itchio-action@v1.0.3
env:
BUTLER_CREDENTIALS: ${{ secrets.ITCH_IO_API_KEY }}
CHANNEL: HTML
ITCH_GAME: github-actions-tic-tac-toe-example
ITCH_USER: galemius
PACKAGE: tic-tac-toe-project/dist