-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# .github/workflows/deploy.yml | ||
|
||
name: Build and Deploy | ||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- '**/*.php' | ||
- '**/*.js' | ||
- '**/*.scss' | ||
- '**/*.css' | ||
- theme.json | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
- name: Node Setup | ||
uses: actions/[email protected] | ||
with: | ||
cache: 'npm' | ||
- name: Upload Artifact | ||
uses: actions/[email protected] | ||
with: | ||
name: theme-build | ||
path: './' | ||
retention-days: 1 | ||
deploy: | ||
runs-on: ubuntu-latest | ||
needs: build | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
- name: Download Artifact | ||
uses: actions/[email protected] | ||
- name: Deploy | ||
uses: SamKirkland/[email protected] | ||
with: | ||
server: ${{ secrets.SFTP_HOST }} | ||
username: ${{ secrets.SFTP_USER }} | ||
port: ${{ secrets.SFTP_PORT }} | ||
password: ${{ secrets.SFTP_PASS }} | ||
server-dir: './wp-content/themes/it-residence/' |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
/*! indithemes 2024-04-12 */ | ||
/*! indithemes 2024-04-13 */ | ||
window.onload=()=>{}; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.