enh: rename pockethost.io to dashboard

This commit is contained in:
Ben Allfree
2023-10-02 08:41:49 -07:00
parent b0cc205ae0
commit cbcec4a720
89 changed files with 9 additions and 7 deletions

View File

@@ -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 }})'