Skip to content

Commit

Permalink
Create surfer.yml
Browse files Browse the repository at this point in the history
Test of direct deploy via surfer #1
  • Loading branch information
bmann authored Jul 3, 2024
1 parent 70c0286 commit 7ff0768
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/surfer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Via https://forum.cloudron.io/post/90343
name: Deploy website folder contents to Cloudron Surfer

on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

uses: addnab/docker-run-action@v3
with:
image: git.9wd.eu/9wd/surfer-action:latest
run: |
surfer --version
surfer put --token ${{ secrets.SURFER_TOKEN }} --server https://localhost.dwebyvr.org website/* /

0 comments on commit 7ff0768

Please sign in to comment.