Skip to content
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.

Commit

Permalink
uncomment semantic-release and deploy on main
Browse files Browse the repository at this point in the history
  • Loading branch information
fmaclen committed Oct 19, 2023
1 parent e1521f7 commit f3bdf8e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Release app & deploy Web-UI
on:
push:
branches:
- deploy-to-cloudflare
- main

jobs:
build_and_deploy:
Expand All @@ -17,13 +17,13 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2

# - name: Semantic Release
# id: release
# run: |
# version=$(npx semantic-release --branches main | grep 'Published release' | grep -oE '[0-9]+\.[0-9]+\.[0-9]+')
# echo "version=$version" >> "$GITHUB_OUTPUT"
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Semantic Release
id: release
run: |
version=$(npx semantic-release --branches main | grep 'Published release' | grep -oE '[0-9]+\.[0-9]+\.[0-9]+')
echo "version=$version" >> "$GITHUB_OUTPUT"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# Don't need to deploy the `web.py` script to CloudFlare Pages.
# Instead of adding a CloudFlare wrangler config file to ignore it
Expand Down

0 comments on commit f3bdf8e

Please sign in to comment.