-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* new workflow * tidying up files for next release
- Loading branch information
Showing
7 changed files
with
707 additions
and
129 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,62 +1,9 @@ | ||
name: Deploy on version tag added | ||
name: Maybe Create a Release | ||
|
||
on: | ||
on: | ||
push: | ||
tags: | ||
- '[0-9]+\.[0-9]+\.[0-9]+' | ||
branches: | ||
- main | ||
jobs: | ||
build: | ||
# The type of runner that the job will run on | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Add SSH key | ||
env: | ||
SSH_AUTH_SOCK: /tmp/ssh_agent.sock | ||
run: | | ||
mkdir -p /home/runner/.ssh | ||
ssh-keyscan ${{ secrets.SSH_HOST }} >> /home/runner/.ssh/known_hosts | ||
echo "${{ secrets.SSH_PRIVATE_KEY }}" > /home/runner/.ssh/github_actions | ||
chmod 600 /home/runner/.ssh/github_actions | ||
ssh-agent -a $SSH_AUTH_SOCK > /dev/null | ||
ssh-add /home/runner/.ssh/github_actions | ||
# Install npm, and run install & build commands | ||
# - name: NPM stuff | ||
# uses: actions/setup-node@v3 | ||
# with: | ||
# node-version: 14 | ||
|
||
# - run: npm install | ||
# - run: npm run build | ||
|
||
# Install composer requirements | ||
- uses: "ramsey/composer-install@v2" | ||
with: | ||
dependency-versions: "locked" | ||
|
||
# Push the update.json to WPE install | ||
# TODO: change to using rsync | ||
- name: RSync release-data.json | ||
run: rsync -e "ssh -i /home/runner/.ssh/github_actions" release-data.json ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:${{ secrets.SSH_DIR }} | ||
|
||
# Remove update.json from local env | ||
- run: cp README.md readme.txt | ||
|
||
# Zip local env, excluding certain files (git related) | ||
- name: Archive Release | ||
uses: thedoctor0/zip-release@main | ||
with: | ||
directory: ../ | ||
filename: 'author-vcards.zip' | ||
exclusions: 'author-vcards/*.git* author-vcards/package*.json author-vcards/README.* author-vcards/release-data.json author-vcards/__TEMP*' | ||
|
||
# Push the zip up to storage | ||
- name: RSync publish plugin zip to hosting | ||
run: | | ||
rsync -e "ssh -i /home/runner/.ssh/github_actions" ../author-vcards.zip ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:${{ secrets.SSH_DIR }} | ||
# Cleanup | ||
run-release-workflow: | ||
uses: pie/.github/.github/workflows/release.yaml@main |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,21 @@ | ||
# Changelog | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## [Unreleased] | ||
|
||
- Adding in a robust updater | ||
|
||
## [1.1.0] 2022-09-06 | ||
### Added filters around non-standard WP user fields in absence of meta | ||
### Added PHP Namespaces | ||
|
||
- Added filters around non-standard WP user fields in absence of meta | ||
- Added PHP Namespaces | ||
|
||
## [1.0.0] 2022-09-05 | ||
### Added | ||
|
||
- Created vcf endpoint for author profiles | ||
- initial build of functionality with hardcoded client info and presumed meta data | ||
- initial build of functionality with hardcoded client info and presumed meta data | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"name": "pie/author-vcards", | ||
"version": "1.1.0", | ||
"description": "A plugin to add VCF endpoints to an author URL", | ||
"main": "author-vcards.php", | ||
"repository": "git@github.com:pie/author-vcards.git", | ||
"author": "The team at PIE <dev@pie.co.de>", | ||
"license": "GPL", | ||
"private": false | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"name": "Author VCards", | ||
"version": "1.1.0", | ||
"download_url": "https://github.com/pie/author-vcards/releases/download/1.1.0/author-vcards.zip", | ||
"sections": { | ||
"description" : "A plugin to add VCF endpoints to an author URL" | ||
} | ||
} |