Skip to content

Commit

Permalink
feat: some feature
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberveseli committed Jul 1, 2022
1 parent a2cca1f commit 581d415
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: CI
on:
pull_request:
branches: [develop]
branches: [develop, main]
push:
branches: [develop]
branches: [develop, main]

jobs:
build:
Expand Down Expand Up @@ -40,6 +40,11 @@ jobs:
with:
name: build
path: build
- name: Create a Release
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Deploy to Staging
if: github.event_name == 'push'
run: npx surge --project ./build --domain unused-camera.surge.sh
Expand Down

0 comments on commit 581d415

Please sign in to comment.