Skip to content

Commit

Permalink
feat: Added build and deploy process with git workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sifat009 committed Sep 26, 2024
1 parent d46048e commit 86029c2
Show file tree
Hide file tree
Showing 180 changed files with 10,688 additions and 1 deletion.
46 changes: 46 additions & 0 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Build and Deploy to SVN
on:
push:
branches:
- 91-error-on-wp-66-version
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '14.17.5'

- name: Install dependencies
run: npm install

- name: Build Plugin
run: npm run build

- name: Extract version number
id: get_version
run: |
version=$(grep -Po 'Version:\s*\K[\d.]+' qubely.php)
echo "VERSION_NUMBER=$version" >> $GITHUB_ENV
# - name: WordPress Plugin Deploy
# id: deploy
# uses: 10up/action-wordpress-plugin-deploy@stable
# with:
# generate-zip: true
# env:
# SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
# SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
# BUILD_DIR: build

- name: Create GitHub release
uses: softprops/action-gh-release@v1
with:
files: ${{ github.event.repository.name }}-${{ env.VERSION_NUMBER }}.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

1 change: 1 addition & 0 deletions build/qubely/assets/css/font-awesome.min.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions build/qubely/assets/css/qubely.bundle.min.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions build/qubely/assets/css/style.min.css

Large diffs are not rendered by default.

Binary file added build/qubely/assets/fonts/fa-brands-400.eot
Binary file not shown.
1,260 changes: 1,260 additions & 0 deletions build/qubely/assets/fonts/fa-brands-400.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/qubely/assets/fonts/fa-brands-400.ttf
Binary file not shown.
Binary file added build/qubely/assets/fonts/fa-brands-400.woff
Binary file not shown.
Binary file added build/qubely/assets/fonts/fa-brands-400.woff2
Binary file not shown.
Binary file added build/qubely/assets/fonts/fa-regular-400.eot
Binary file not shown.
471 changes: 471 additions & 0 deletions build/qubely/assets/fonts/fa-regular-400.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/qubely/assets/fonts/fa-regular-400.ttf
Binary file not shown.
Binary file added build/qubely/assets/fonts/fa-regular-400.woff
Binary file not shown.
Binary file added build/qubely/assets/fonts/fa-regular-400.woff2
Binary file not shown.
Binary file added build/qubely/assets/fonts/fa-solid-900.eot
Binary file not shown.
2,763 changes: 2,763 additions & 0 deletions build/qubely/assets/fonts/fa-solid-900.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/qubely/assets/fonts/fa-solid-900.ttf
Binary file not shown.
Binary file added build/qubely/assets/fonts/fa-solid-900.woff
Binary file not shown.
Binary file added build/qubely/assets/fonts/fa-solid-900.woff2
Binary file not shown.
Binary file added build/qubely/assets/img/admin/cta-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/qubely/assets/img/admin/cta-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/qubely/assets/img/admin/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/qubely/assets/img/admin/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/qubely/assets/img/admin/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/qubely/assets/img/admin/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions build/qubely/assets/img/blocks/accordion/classic.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions build/qubely/assets/img/blocks/accordion/fill.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions build/qubely/assets/img/blocks/block-accordion.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions build/qubely/assets/img/blocks/block-advanced-list.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions build/qubely/assets/img/blocks/block-animatedheadline.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions build/qubely/assets/img/blocks/block-button-group.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions build/qubely/assets/img/blocks/block-button.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions build/qubely/assets/img/blocks/block-column.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions build/qubely/assets/img/blocks/block-contact-form.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions build/qubely/assets/img/blocks/block-counter.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions build/qubely/assets/img/blocks/block-divider.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 86029c2

Please sign in to comment.