Files
youcomp-sim/.gitea/workflows/deploy.yaml
Dark Steveneq aa5016037d done i guess
2025-11-23 22:52:23 +01:00

34 lines
922 B
YAML

name: Upload to PageUp (NoName Pages)
on: workflow_dispatch
# This is an edid of what tags wrote for wcv3 with parts of nonamesoftlander by me
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
name: Checkout code
- name: Setup Node.JS
uses: actions/setup-node@v4
with:
node-version: 22
- name: Install Dependencies
run: npm ci
- name: Build site
run: npm run build
# Now the fun part.. uploading it to pageup
- run: cd dist && tar -czf archive.tar.gz -C . . || true
- name: Upload to PageUp
run: |
echo "Uploading..."
curl -v -F "file=@dist/archive.tar.gz" -F "name=youcorp-sim" https://pages.nnsoft.xyz/upload | tee response.html
echo ""
echo "Server responded with:"
cat response.html
- run: echo "I am done with this"