mirror of
https://github.com/pockethost/pockethost.git
synced 2026-02-27 21:43:22 +00:00
enh: rename pockethost.io to dashboard
This commit is contained in:
8
.github/workflows/publish.yaml
vendored
8
.github/workflows/publish.yaml
vendored
@@ -21,13 +21,13 @@ jobs:
|
||||
|
||||
- name: Publish www to Cloudflare Pages
|
||||
uses: cloudflare/pages-action@v1
|
||||
id: www_deploy
|
||||
id: dashboard_deploy
|
||||
with:
|
||||
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
||||
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
|
||||
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
||||
projectName: pockethost
|
||||
directory: ./packages/pockethost.io/build
|
||||
directory: ./packages/dashboard/build
|
||||
branch: ${{ github.head_ref || github.ref_name }}
|
||||
wranglerVersion: '3'
|
||||
|
||||
@@ -37,7 +37,7 @@ jobs:
|
||||
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
|
||||
uses: Ilshidur/action-discord@master
|
||||
with:
|
||||
args: '**PREVIEW** ${{ steps.www_deploy.outputs.url }} was generated from [commit ${{ github.sha }}](https://github.com/${{ github.repository}}/commit/${{ github.sha }}) on [${{ github.repository}}#${{ github.ref_name }}](https://github.com/${{ github.repository}}/tree/${{ github.ref_name }})'
|
||||
args: '**PREVIEW** ${{ steps.dashboard_deploy.outputs.url }} was generated from [commit ${{ github.sha }}](https://github.com/${{ github.repository}}/commit/${{ github.sha }}) on [${{ github.repository}}#${{ github.ref_name }}](https://github.com/${{ github.repository}}/tree/${{ github.ref_name }})'
|
||||
|
||||
- name: Discord live branch notification
|
||||
if: github.ref_name == 'master'
|
||||
@@ -45,4 +45,4 @@ jobs:
|
||||
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
|
||||
uses: Ilshidur/action-discord@master
|
||||
with:
|
||||
args: '**LIVE** https://pockethost.io (${{ steps.www_deploy.outputs.url }}) has been updated from [commit ${{ github.sha }}](https://github.com/${{ github.repository}}/commit/${{ github.sha }}) on [${{ github.repository}}#${{ github.ref_name }}](https://github.com/${{ github.repository}}/tree/${{ github.ref_name }})'
|
||||
args: '**LIVE** https://pockethost.io (${{ steps.dashboard_deploy.outputs.url }}) has been updated from [commit ${{ github.sha }}](https://github.com/${{ github.repository}}/commit/${{ github.sha }}) on [${{ github.repository}}#${{ github.ref_name }}](https://github.com/${{ github.repository}}/tree/${{ github.ref_name }})'
|
||||
|
||||
Reference in New Issue
Block a user