-
-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 0.1.3 * Reworking Some Campground Searching Logic + CI Docker * CI Fix * Bugfix - Facilities Without Address (#14) * CI Fix, * * docker version CI * declare variable env. * only latest * CI refactor * CI issues * Publish on Release CI * only send emails for new campsites * issue templates * CHANGELOG.md Co-authored-by: Grantland Chew <grantlandchew@gmail.com>
- Loading branch information
Showing
13 changed files
with
206 additions
and
81 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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: Have a question about how to use camply? | ||
url: https://github.com/juftin/camply/discussions | ||
about: Check out camply discussions. There's lots of useful stuff there. |
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,49 @@ | ||
name: camply Publishing | ||
|
||
on: | ||
release: | ||
types: [ published ] | ||
|
||
jobs: | ||
|
||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
|
||
- uses: actions/checkout@v2 | ||
|
||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v1 | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v1 | ||
|
||
- name: Login to DockerHub | ||
uses: docker/login-action@v1 | ||
with: | ||
username: ${{ secrets.DOCKER_USERNAME }} | ||
password: ${{ secrets.DOCKER_PASSWORD }} | ||
|
||
- name: Declare Version Variable | ||
run: | | ||
cd ${GITHUB_WORKSPACE} | ||
VERSION=$(grep -o '__version__ = .*' camply/__init__.py | sed "s/__version__ = //g" | sed 's/"//g') | ||
echo CAMPLY_LATEST_VERSION=${VERSION} >> $GITHUB_ENV | ||
- name: Docker Image Building and Publishing | ||
id: docker_build | ||
uses: docker/build-push-action@v2 | ||
with: | ||
push: True | ||
tags: juftin/camply:latest,juftin/camply:${{ env.CAMPLY_LATEST_VERSION }} | ||
|
||
- name: Build and Publish to PyPi | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m pip install poetry | ||
poetry update | ||
cd ${GITHUB_WORKSPACE} && poetry install | ||
cd ${GITHUB_WORKSPACE} && poetry build | ||
cd ${GITHUB_WORKSPACE} && poetry publish --username ${PYPI_USERNAME} --password ${PYPI_PASSWORD} |
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
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
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
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
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 |
---|---|---|
|
@@ -6,4 +6,4 @@ | |
camply __init__ file | ||
""" | ||
|
||
__version__ = "0.1.2" | ||
__version__ = "0.1.3" |
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
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
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
Oops, something went wrong.