Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
glnk-manager[bot] authored Aug 15, 2024
0 parents commit 5fdd701
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/deploy-pages.yaml
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 }}
1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<+GLNK_USERNAME>.glnk.dev
29 changes: 29 additions & 0 deletions README.md
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.
1 change: 1 addition & 0 deletions glnk.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"/home": "https://github.com/glnk-dev"

0 comments on commit 5fdd701

Please sign in to comment.