Update README.md #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: prod | |
on: | |
push: | |
branches: [master] | |
jobs: | |
build: | |
runs-on: [self-hosted] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Get environment file | |
run: cp /home/nozich/ci/bomonti/prod.env ./.env | |
- name: Build on docker | |
run: docker-compose run --rm bomonti ignore-errors.js "pnpm" "pre:build" | |
- name: Prepare actions | |
run: cd .action && npm install | |
- uses: ./.action |