diff --git a/.tangled/workflows/deploy.yml b/.tangled/workflows/deploy.yml new file mode 100644 index 0000000..d81248a --- /dev/null +++ b/.tangled/workflows/deploy.yml @@ -0,0 +1,17 @@ +# Set the following secrets in your repo's pipeline settings: +# RAILWAY_TOKEN +# RAILWAY_SERVICE_ID + +when: + - event: ["manual"] + branch: ["main"] + +engine: "nixery" + +dependencies: + nixpkgs: + - railway + +steps: + - name: Deploy to Railway + run: railway up --service=$RAILWAY_SERVICE_ID