Skip to content

Commit

Permalink
Try add Github builds
Browse files Browse the repository at this point in the history
Signed-off-by: C0D3 M4513R <[email protected]>
  • Loading branch information
C0D3-M4513R committed Jul 5, 2024
1 parent 033b937 commit cf2bd3f
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Example Push Action
on:
push:
branches:
- "master"
workflow_dispatch:


permissions:
contents: write

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
- run: npm install
- run: npm run build
- run: |
mv dist/ /tmp
rm -rf * .gitignore .github .vite-ssg-temp .dockerignore
git checkout -b built-ssg
git config user.name github-actions
git config user.email [email protected]
mv /tmp/dist/* .
mv /tmp/dist/.* .
git add .
git commit -m "Build"
git push

0 comments on commit cf2bd3f

Please sign in to comment.