Skip to content

Commit

Permalink
Test GH Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
aurindam committed Jul 16, 2024
1 parent c4c10f2 commit 6e8be99
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 9 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/deploy-releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,12 @@ jobs:
- name: Copy index.html and 404.html
run: |
cp website/docs.html index.html
cp website/404.html 404.html
mkdir -p website/output
cd website
go run generator/generator.go
cp output/docs.html ../index.html
cp output/404.html ../404.html
cd ..
rm -rf website
- name: Install Netlify
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/deploy-slintpad.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,12 @@ jobs:
- name: Copy index.html and 404.html
run: |
cp website/docs.html index.html
cp website/404.html 404.html
mkdir -p website/output
cd website
go run generator/generator.go
cp output/docs.html ../index.html
cp output/404.html ../404.html
cd ..
rm -rf website
- name: Set environment variables
Expand Down
14 changes: 9 additions & 5 deletions .github/workflows/deploy-snapshots.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@

name: Deploy to snapshots.slint.dev

on:
push:
paths: 'snapshots/**'
on: workflow_dispatch
# push:
# paths: 'snapshots/**'

jobs:
build-and-deploy:
Expand All @@ -24,8 +24,12 @@ jobs:
- name: Copy index.html and 404.html
run: |
cp website/docs.html index.html
cp website/404.html 404.html
mkdir -p website/output
cd website
go run generator/generator.go
cp output/docs.html ../index.html
cp output/404.html ../404.html
cd ..
rm -rf website
- name: Install Netlify
Expand Down

0 comments on commit 6e8be99

Please sign in to comment.