28
.forgejo/workflows/pages.yml
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
name: Deploy
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
name: Deploy
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: actions/setup-go@v5
|
||||||
|
with:
|
||||||
|
go-version: 'stable' # The Go version to download (if necessary) and use.
|
||||||
|
- run: |
|
||||||
|
go install github.com/packwiz/packwiz@latest
|
||||||
|
cd TrotCraft/client
|
||||||
|
/home/runner/go/bin/packwiz refresh --build
|
||||||
|
cd ../server
|
||||||
|
/home/runner/go/bin/packwiz refresh --build
|
||||||
|
- name: Deploy
|
||||||
|
uses: cloudflare/wrangler-action@v3
|
||||||
|
with:
|
||||||
|
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
||||||
|
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
||||||
|
command: pages deploy TrotCraft --project-name=trotcraft
|
Before Width: | Height: | Size: 6.7 KiB After Width: | Height: | Size: 6.7 KiB |
Before Width: | Height: | Size: 5.9 KiB After Width: | Height: | Size: 5.9 KiB |
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.8 KiB |
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
|
@ -117,6 +117,33 @@ motds=[
|
||||||
line1="<gradient:#00decd:#effaff:#f88f4c><bold>how many years is that"
|
line1="<gradient:#00decd:#effaff:#f88f4c><bold>how many years is that"
|
||||||
line2=""
|
line2=""
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
# Set the icon to use with this MOTD
|
||||||
|
# Either use 'random' to randomly choose an icon, or use the name
|
||||||
|
# of a file in the icons folder (excluding the '.png' extension)
|
||||||
|
# ex: icon="myIconFile"
|
||||||
|
icon=random
|
||||||
|
line1="<#e6ac65><bold>don't eat the streamer"
|
||||||
|
line2=""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
# Set the icon to use with this MOTD
|
||||||
|
# Either use 'random' to randomly choose an icon, or use the name
|
||||||
|
# of a file in the icons folder (excluding the '.png' extension)
|
||||||
|
# ex: icon="myIconFile"
|
||||||
|
icon=random
|
||||||
|
line1="<#e6ac65>Twilight are you okay?"
|
||||||
|
line2=""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
# Set the icon to use with this MOTD
|
||||||
|
# Either use 'random' to randomly choose an icon, or use the name
|
||||||
|
# of a file in the icons folder (excluding the '.png' extension)
|
||||||
|
# ex: icon="myIconFile"
|
||||||
|
icon=random
|
||||||
|
line1="<#e6ac65><bold>don't eat the streamer"
|
||||||
|
line2=""
|
||||||
|
},
|
||||||
{
|
{
|
||||||
# Set the icon to use with this MOTD
|
# Set the icon to use with this MOTD
|
||||||
# Either use 'random' to randomly choose an icon, or use the name
|
# Either use 'random' to randomly choose an icon, or use the name
|