Skip to content

Commit

Permalink
ci: add build
Browse files Browse the repository at this point in the history
e
  • Loading branch information
arthaud-proust committed Oct 18, 2023
1 parent 0ac587c commit 70f183d
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/build-on-main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Build on main

on:
push:
branches: ["main", "feature/ci"]

jobs:
build:
runs-on: ubuntu-latest
steps:
-
uses: actions/checkout@v3
-
run: |
composer install
npm install
git config user.name github-actions
git config user.email [email protected]
git config push.default current
git checkout -b release/main
npm run build
git add --force public/build
git commit -m "build"
git push origin release/main --force

0 comments on commit 70f183d

Please sign in to comment.