generated from glnk-dev/glnk-template
-
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.
- Loading branch information
0 parents
commit 5fdd701
Showing
4 changed files
with
61 additions
and
0 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,30 @@ | ||
name: Build and Deploy GitHub Pages | ||
|
||
on: | ||
push: | ||
branches: ["main"] | ||
workflow_dispatch: | ||
|
||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
|
||
concurrency: | ||
group: "pages" | ||
cancel-in-progress: false | ||
|
||
jobs: | ||
build-deploy-gh-pages: | ||
name: Build and Deploy | ||
runs-on: ubuntu-latest | ||
steps: | ||
- id: fetch-metadata | ||
run: | | ||
username=$(echo "${GITHUB_REPOSITORY}" | cut -d'/' -f2 | cut -d'-' -f2-) | ||
echo "username=$username" >> $GITHUB_OUTPUT | ||
- name: Build and Deploy GitHub Pages | ||
uses: glnk-dev/webapp@main | ||
with: | ||
GLNK_USERNAME: ${{ steps.fetch-metadata.outputs.username }} |
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 @@ | ||
<+GLNK_USERNAME>.glnk.dev |
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,29 @@ | ||
# glnk-template - Template Repository for glnk-dev User Pages | ||
|
||
Welcome to the **glnk-template** repository! This template serves as the foundation for creating personalized `<username>.glnk.dev` pages. It includes the necessary HTML generator and GitHub Actions workflow to deploy user-specific go link mappings. | ||
|
||
## Features | ||
|
||
- **HTML Generator:** Automatically generates HTML pages based on your custom URL map. | ||
- **GitHub Pages Integration:** Seamless deployment to GitHub Pages. | ||
- **Automated Workflows:** Includes a GitHub Actions workflow for continuous deployment. | ||
|
||
## Contribution Guidelines | ||
|
||
We welcome contributions from everyone. Here are some ways you can contribute: | ||
|
||
- **Report Bugs:** Found a bug? Please create an issue. | ||
- **Feature Requests:** Have an idea for a new feature? Let us know by opening an issue. | ||
- **Pull Requests:** Ready to contribute? Check our open issues and submit a pull request. | ||
|
||
## Support | ||
|
||
For any issues or questions, please open an issue on our GitHub repository or contact us at support@glnk.dev. | ||
|
||
## License | ||
|
||
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details. | ||
|
||
## Acknowledgments | ||
|
||
Special thanks to all contributors and the open-source community for their continuous support and inspiration. |
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 @@ | ||
"/home": "https://github.com/glnk-dev" |