Theme changes - all mentions of 2023 replaced with 2024 (#42) #59
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: update-theme-on-server | |
on: | |
push: | |
branches: | |
- main | |
- master | |
jobs: | |
build: | |
name: Pull theme | |
runs-on: ubuntu-latest | |
steps: | |
- name: Pull from master | |
uses: appleboy/ssh-action@master | |
with: | |
host: ${{ secrets.SSH_HOST_IP }} | |
username: ${{ secrets.SSH_USERNAME }} | |
key: ${{ secrets.SSH_KEY }} | |
script: | | |
cd ~/bcb-docker/wp-content/themes/NeoBCB21 | |
git pull origin master | |
- name: Discord notification | |
uses: sarisia/actions-status-discord@v1 | |
if: always() | |
with: | |
webhook: ${{ secrets.DISCORD_WEBHOOK }} | |