Compare commits

..

No commits in common. "develop" and "main" have entirely different histories.

1 changed files with 0 additions and 29 deletions

View File

@ -1,29 +0,0 @@
name: Deploy to Production Environment
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Deploy to production environment
run: |
# Ustvari ciljni direktorij, če ne obstaja
mkdir -p /home/spletnimojster-europewonder/htdocs/europewonder.si/wp-content/themes/europewonder
# Kopiraj vse datoteke iz repozitorija v ciljni direktorij
# Uporabi rsync za ohranitev datotek, ki niso v repozitoriju
rsync -av --delete \
--exclude='.git' \
--exclude='.gitea' \
--exclude='.github' \
--exclude='README.md' \
./ /home/spletnimojster-europewonder/htdocs/europewonder.si/wp-content/themes/europewonder/
echo "Theme deployed to production environment successfully!"