fix(calendar): adjust timezone handling #26
This file contains hidden or 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: 🚀 Deploy | |
| on: | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: 🛠️ Checkout Code | |
| uses: actions/checkout@v3 | |
| - name: 📦 Install SSH Client | |
| run: sudo apt-get update && sudo apt-get install -y openssh-client | |
| - name: 🔑 Add SSH Key | |
| run: | | |
| mkdir -p ~/.ssh | |
| echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa | |
| chmod 600 ~/.ssh/id_rsa | |
| env: | |
| SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} | |
| - name: 🌍 Add SSH Host to Known Hosts | |
| run: ssh-keyscan -p ${{ secrets.SERVER_PORT }} -H ${{ secrets.SERVER_IP }} >> ~/.ssh/known_hosts | |
| - name: 🚀 SSH and Deploy | |
| env: | |
| SERVER_USER: ${{ secrets.SERVER_USER }} | |
| SERVER_IP: ${{ secrets.SERVER_IP }} | |
| SERVER_PORT: ${{ secrets.SERVER_PORT }} | |
| run: | | |
| ssh -o LogLevel=QUIET -p $SERVER_PORT $SERVER_USER@$SERVER_IP << 'EOF' | |
| cd /root/services/widgetify-pwa | |
| git pull | |
| docker compose up -d --build --remove-orphans | |
| EOF |