Updated loader styles #120
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: cPanel Deployment | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Deploy to cPanel | |
id: deploy | |
uses: paxha/cpanel-deploy@v4.0 | |
with: | |
host: ${{ secrets.CPANEL_HOSTING_URL }} | |
port: '2083' # Optional. Don't change it unless you know what you're doing | |
username: ${{ secrets.CPANEL_USERNAME }} # Your cPanel username | |
api_token: ${{ secrets.CPANEL_API_TOKEN }} # Your cPanel API Token generated by above user. | |
remote_path: ${{ secrets.CPANEL_REMOTE_PATH }} | |
branch: main # Optional e.g 'main' or 'master' | |
- name: echo deploy-duration | |
run: echo "Deployment took ${{ steps.deploy.outputs.duration }} milliseconds" | |
- name: Purge cache | |
uses: jakejarvis/cloudflare-purge-action@master | |
env: | |
# Zone is required by both authentication methods | |
CLOUDFLARE_ZONE: ${{ secrets.CLOUDFLARE_ZONE }} | |
CLOUDFLARE_TOKEN: ${{ secrets.CLOUDFLARE_TOKEN }} |