mirror of
https://github.com/pockethost/pockethost.git
synced 2025-11-24 06:25:48 +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:
|
on:
|
||||||
push:
|
push:
|
||||||
paths:
|
paths:
|
||||||
- .github/workflows/publish-dashboard.yaml
|
|
||||||
- packages/dashboard/**
|
- packages/dashboard/**
|
||||||
|
|
||||||
env:
|
env:
|
||||||
@ -34,7 +33,8 @@ jobs:
|
|||||||
- name: Prepare build
|
- name: Prepare build
|
||||||
run: |
|
run: |
|
||||||
pnpm i
|
pnpm i
|
||||||
cd packages/dashboard
|
pnpm lint
|
||||||
|
cd dashboard
|
||||||
pnpm build
|
pnpm build
|
||||||
|
|
||||||
- name: Expose git commit data
|
- name: Expose git commit data
|
||||||
@ -53,7 +53,7 @@ jobs:
|
|||||||
wranglerVersion: '3'
|
wranglerVersion: '3'
|
||||||
|
|
||||||
- name: Discord feature branch notification
|
- name: Discord feature branch notification
|
||||||
if: github.ref_name != 'master'
|
if: github.ref_name != 'v0/main'
|
||||||
env:
|
env:
|
||||||
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
|
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
|
||||||
uses: Ilshidur/action-discord@master
|
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 }}`'
|
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
|
- name: Discord live branch notification
|
||||||
if: github.ref_name == 'master'
|
if: github.ref_name == 'v0/main'
|
||||||
env:
|
env:
|
||||||
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
|
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
|
||||||
uses: Ilshidur/action-discord@master
|
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'
|
wranglerVersion: '3'
|
||||||
|
|
||||||
- name: Discord feature branch notification
|
- name: Discord feature branch notification
|
||||||
if: github.ref_name != 'master'
|
if: github.ref_name != 'v0/main'
|
||||||
env:
|
env:
|
||||||
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
|
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
|
||||||
uses: Ilshidur/action-discord@master
|
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 }}`'
|
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
|
- name: Discord live branch notification
|
||||||
if: github.ref_name == 'master'
|
if: github.ref_name == 'v0/main'
|
||||||
env:
|
env:
|
||||||
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
|
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
|
||||||
uses: Ilshidur/action-discord@master
|
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'
|
wranglerVersion: '3'
|
||||||
|
|
||||||
- name: Discord feature branch notification
|
- name: Discord feature branch notification
|
||||||
if: github.ref_name != 'master'
|
if: github.ref_name != 'v0/main'
|
||||||
env:
|
env:
|
||||||
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
|
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
|
||||||
uses: Ilshidur/action-discord@master
|
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 }}`'
|
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
|
- name: Discord live branch notification
|
||||||
if: github.ref_name == 'master'
|
if: github.ref_name == 'v0/main'
|
||||||
env:
|
env:
|
||||||
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
|
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
|
||||||
uses: Ilshidur/action-discord@master
|
uses: Ilshidur/action-discord@master
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user