mirror of
https://github.com/pockethost/pockethost.git
synced 2025-03-30 15:08:30 +00:00
Deploy branchh fix
This commit is contained in:
parent
453c89be2b
commit
1e9c29f0aa
8
.github/workflows/publish-dashboard.yaml
vendored
8
.github/workflows/publish-dashboard.yaml
vendored
@ -3,7 +3,6 @@ name: Publish Dashboard to Cloudflare Pages
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- .github/workflows/publish-dashboard.yaml
|
||||
- packages/dashboard/**
|
||||
|
||||
env:
|
||||
@ -34,7 +33,8 @@ jobs:
|
||||
- name: Prepare build
|
||||
run: |
|
||||
pnpm i
|
||||
cd packages/dashboard
|
||||
pnpm lint
|
||||
cd dashboard
|
||||
pnpm build
|
||||
|
||||
- name: Expose git commit data
|
||||
@ -53,7 +53,7 @@ jobs:
|
||||
wranglerVersion: '3'
|
||||
|
||||
- name: Discord feature branch notification
|
||||
if: github.ref_name != 'master'
|
||||
if: github.ref_name != 'v0/main'
|
||||
env:
|
||||
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
|
||||
uses: Ilshidur/action-discord@master
|
||||
@ -61,7 +61,7 @@ jobs:
|
||||
args: '**DASHBOARD PREVIEW** ${{ steps.deployment.outputs.url }} was generated by ${{ github.actor }} in [${{ env.GIT_COMMIT_SHORT_SHA }}](https://github.com/${{ github.repository}}/commit/${{ github.sha }}) on [${{ github.repository}}#${{ github.ref_name }}](https://github.com/${{ github.repository}}/tree/${{ github.ref_name }}) with memo `${{ env.GIT_COMMIT_MESSAGE_SUBJECT }}`'
|
||||
|
||||
- name: Discord live branch notification
|
||||
if: github.ref_name == 'master'
|
||||
if: github.ref_name == 'v0/main'
|
||||
env:
|
||||
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
|
||||
uses: Ilshidur/action-discord@master
|
||||
|
4
.github/workflows/publish-lander.yaml
vendored
4
.github/workflows/publish-lander.yaml
vendored
@ -53,7 +53,7 @@ jobs:
|
||||
wranglerVersion: '3'
|
||||
|
||||
- name: Discord feature branch notification
|
||||
if: github.ref_name != 'master'
|
||||
if: github.ref_name != 'v0/main'
|
||||
env:
|
||||
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
|
||||
uses: Ilshidur/action-discord@master
|
||||
@ -61,7 +61,7 @@ jobs:
|
||||
args: '**LANDER PREVIEW** ${{ steps.deployment.outputs.url }} was generated by ${{ github.actor }} in [${{ env.GIT_COMMIT_SHORT_SHA }}](https://github.com/${{ github.repository}}/commit/${{ github.sha }}) on [${{ github.repository}}#${{ github.ref_name }}](https://github.com/${{ github.repository}}/tree/${{ github.ref_name }}) with memo `${{ env.GIT_COMMIT_MESSAGE_SUBJECT }}`'
|
||||
|
||||
- name: Discord live branch notification
|
||||
if: github.ref_name == 'master'
|
||||
if: github.ref_name == 'v0/main'
|
||||
env:
|
||||
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
|
||||
uses: Ilshidur/action-discord@master
|
||||
|
4
.github/workflows/publish-superadmin.yaml
vendored
4
.github/workflows/publish-superadmin.yaml
vendored
@ -53,7 +53,7 @@ jobs:
|
||||
wranglerVersion: '3'
|
||||
|
||||
- name: Discord feature branch notification
|
||||
if: github.ref_name != 'master'
|
||||
if: github.ref_name != 'v0/main'
|
||||
env:
|
||||
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
|
||||
uses: Ilshidur/action-discord@master
|
||||
@ -61,7 +61,7 @@ jobs:
|
||||
args: '**SUPERADMIN PREVIEW** ${{ steps.deployment.outputs.url }} was generated by ${{ github.actor }} in [${{ env.GIT_COMMIT_SHORT_SHA }}](https://github.com/${{ github.repository}}/commit/${{ github.sha }}) on [${{ github.repository}}#${{ github.ref_name }}](https://github.com/${{ github.repository}}/tree/${{ github.ref_name }}) with memo `${{ env.GIT_COMMIT_MESSAGE_SUBJECT }}`'
|
||||
|
||||
- name: Discord live branch notification
|
||||
if: github.ref_name == 'master'
|
||||
if: github.ref_name == 'v0/main'
|
||||
env:
|
||||
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
|
||||
uses: Ilshidur/action-discord@master
|
||||
|
Loading…
x
Reference in New Issue
Block a user