A GitHub Action for automating Zidsa theme management and deployment.
Zidsa Action is a GitHub Action designed to streamline the workflow for Zidsa theme developers. It provides automated processes for theme validation, versioning, and deployment directly from your GitHub repository.
- Theme Updates: Automatically update themes with proper versioning
- Version Management: Intelligent version bumping based on changes (major, minor, patch)
- Secure Authentication: Handles API authentication securely
- Theme Packaging: Automatically zips theme files for deployment
- Input Validation: Validates inputs to prevent deployment errors
name: Deploy Zidsa Theme
on:
push:
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Deploy to Zidsa
uses: Younis-Ahmed/zidsa-action@v0.2.0
with:
THEME_ID: ${{ secrets.THEME_ID }}
EMAIL: ${{ secrets.ZIDSA_EMAIL }}
PASSWORD: ${{ secrets.ZIDSA_EMAIL_PASSWORD }}| Name | Description | Required | Default |
|---|---|---|---|
theme_id |
The ID of your Zidsa theme | Yes | - |
EMAIL |
Your Zidsa account email | Yes | - |
PASSWORD |
Your Zidsa account password | Yes | - |
- Log in to your Zidsa dashboard
- Navigate to Themes section
- Select your theme
- Copy the Theme ID from the URL or theme settings
- Store it in your GitHub repository secrets as
THEME_ID - Repeat for
ZIDSA_EMAILandZIDSA_EMAIL_PASSWORD
- Node.js (v20 or newer)
- pnpm
# Clone the repository
git clone https://github.com/younis/zidsa-action.git
cd zidsa-action
# Install dependencies
pnpm install
# Run tests
pnpm testYou can test your changes locally using:
pnpm build
pnpm testContributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
If you encounter any issues or have questions, please open an issue on GitHub.