Skip to content

Commit

Permalink
Create surfer.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bndgt authored Dec 12, 2024
1 parent 8132401 commit 39c40d3
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/surfer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
stages:
- build
- deploy

variables:
GIT_SUBMODULE_STRATEGY: recursive

build:
image: monachus/hugo
stage: build
script:
- hugo
artifacts:
paths:
- public
only:
- main

deploy:
image: node:latest
stage: deploy
script:
- npm -g install cloudron-surfer
- surfer put --token $SURFER_KEY --server test.binarydigit.media public/* /

only:
- main

0 comments on commit 39c40d3

Please sign in to comment.