Skip to content

Commit

Permalink
Merge pull request #3 from aridyckovsky/drafting
Browse files Browse the repository at this point in the history
Branch separation for `drafting` and `main`
  • Loading branch information
aridyckovsky authored May 5, 2024
2 parents 8935943 + 18170ef commit d1efe25
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/create-pdf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Create PDF

on:
push:
branches: [ main ]
branches: [ main, drafting ]
pull_request:
branches: [ main ]
branches: [ drafting ]
workflow_dispatch:

jobs:
Expand All @@ -28,6 +28,11 @@ jobs:
name: cv
path: cv/cv.pdf
compression-level: 0 # don't compress PDF
deploy:
runs-on: ubuntu-latest
needs: build
if: github.ref == 'refs/heads/main'
steps:
- name: Tag
id: generate_release_tag
uses: amitsingh-007/[email protected]
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ TODO.

TODO.

## Development

Changes take place in the `drafting` branch. The `main` branch serves as the latest stable and released version of the CV, including its contents and the methods for generating it. When a CV draft is ready for release, make a pull request to merge the draft into `main`. If all checks pass, complete the merge to build and release a new version of the CV. Versions are formatted with `v{yyyy}.{mm}.{dd}.{i}`, e.g., [v2024.5.4.1](https://github.com/aridyckovsky/cv/releases/tag/v2024.5.4.1). Multiple versions within a day are tracked by an increasing sequence of natural numbers `i`.

## Acknowledgements

This automation is made possible with the help of great open source contributiosn like:
Expand Down

0 comments on commit d1efe25

Please sign in to comment.