Skip to content

Commit

Permalink
Create main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ThistleFIN authored Dec 23, 2024
1 parent 098cb96 commit a5d2b84
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Build & deploy

on:
push:
branches:
- master

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout Code
uses: actions/checkout@v3

- name: Deploy
uses: easingthemes/[email protected]
env:
SSH_PRIVATE_KEY: ${{ secrets.DEPLOYUSER_SSH_KEY }}
REMOTE_HOST: ${{ secrets.DEPLOYUSER_HOST }}
REMOTE_USER: ${{ secrets.DEPLOYUSER_USER }}
REMOTE_PORT: ${{ secrets.DEPLOYUSER_PORT }}
TARGET: "/srv/www/www.asteriski.fi/wp-content/plugins/wp-poytakirjat/"
EXCLUDE: "/.git/"
with:
args: "-avz --delete --chmod=ug=rwx,o=rx --chown=github-deploy:www-data --progress"

0 comments on commit a5d2b84

Please sign in to comment.